package org.example.demo16_zhongjie;

public class WTO implements InternationalAgency {
    private UnitedNations mediator;

    public WTO(UnitedNations mediator) {
        this.mediator = mediator;
    }

    @Override
    public void sendMessage(String message) {
        mediator.coordinate("WTO", message);
    }

    @Override
    public void receiveMessage(String message) {
        System.out.println("WTO received: " + message);
    }
}